package cn.shop.gateway.model;

import java.util.StringJoiner;

public class Secret {

    private Long id;
    private String secret;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", Secret.class.getSimpleName() + "[", "]")
                .add("id=" + id)
                .add("secret='" + secret + "'")
                .toString();
    }
}
